.class Lcom/xingbook/park/activity/dk;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/XingbiAct;

.field private final synthetic b:Lcom/xingbook/ui/af;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/XingbiAct;Lcom/xingbook/ui/af;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/dk;->a:Lcom/xingbook/park/activity/XingbiAct;

    iput-object p2, p0, Lcom/xingbook/park/activity/dk;->b:Lcom/xingbook/ui/af;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9

    const/4 v7, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/park/activity/dk;->b:Lcom/xingbook/ui/af;

    invoke-virtual {v0}, Lcom/xingbook/ui/af;->a()V

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "market://details?id="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/xingbook/park/activity/dk;->a:Lcom/xingbook/park/activity/XingbiAct;

    invoke-virtual {v3}, Lcom/xingbook/park/activity/XingbiAct;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    iget-object v1, p0, Lcom/xingbook/park/activity/dk;->a:Lcom/xingbook/park/activity/XingbiAct;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/activity/XingbiAct;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/dk;->a:Lcom/xingbook/park/activity/XingbiAct;

    const v1, 0x7f04001c

    const v2, 0x7f040020

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/activity/XingbiAct;->overridePendingTransition(II)V

    iget-object v0, p0, Lcom/xingbook/park/activity/dk;->a:Lcom/xingbook/park/activity/XingbiAct;

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    const-wide/16 v1, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/c/n;->a(J)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/xingbook/park/activity/dk;->b:Lcom/xingbook/ui/af;

    const-string v1, "\u9886\u53d6\u5931\u8d25"

    const-string v2, "\u8bf7\u5b89\u88c5\u5e94\u7528\u5546\u5e97\uff08\u5982\uff1a\u5e94\u7528\u5b9d\u3001360\u624b\u673a\u52a9\u624b\u7b49\uff09\u540e\u518d\u8fdb\u884c\u70b9\u8bc4\u9886\u661f\u5e01\u3002"

    const-string v3, "\u6211\u77e5\u9053\u4e86"

    move-object v5, v4

    move-object v6, v4

    move v8, v7

    invoke-virtual/range {v0 .. v8}, Lcom/xingbook/ui/af;->a(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;Landroid/view/View$OnClickListener;ZZ)V

    goto :goto_0
.end method
